package com.kaxicore.kaxi;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.net.UnknownHostException;

@SpringBootApplication
@MapperScan("com.kaxicore.kaxi.mapper")  // 这个配置和上面的mapper配置中@Mapper 相互作用才能正常读到mapper
public class KaxiApplication {
    public static void main(String[] args) throws UnknownHostException {
        SpringApplication.run(KaxiApplication.class, args);
    }
}
